using System;
using System.Data.Common;

namespace WyUnity.Data.DataAccess.Dialect
{
	public class MySQLDialect : ISqlDialect
	{
		public string NameFormat
		{
			get { return "`{0}`"; }
		}

		private static readonly DbProviderFactory _provider = DbProviderFactories.GetFactory("System.Data.MySql");
		private DbProviderFactory Provider
		{
			get { return _provider; }
		}

		public DbParameter CreateParameter()
		{
			return _provider.CreateParameter();
		}

		public DbConnection CreateConnection(string connectionString)
		{
			throw new System.NotImplementedException();
		}

		public DbCommand CreateCommand()
		{
			throw new System.NotImplementedException();
		}

		public DbDataAdapter CreateDataAdapter()
		{
			throw new System.NotImplementedException();
		}

		public string GetSqlType(Type datatype, int length)
		{
			throw new NotImplementedException();
		}

		public string GetRowVersionDefine(string name)
		{
			throw new NotImplementedException();
		}
	}
}